package com.example.simplecardtenantbank.client;

import feign.Headers;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "kabaouser")
public interface KaBaoUserClient {
    @RequestMapping(value = "/user/info",method = RequestMethod.GET)
    String getUserInfo();

    @RequestMapping(value = "/user/test",method = RequestMethod.GET)
    String getTest();
    
    @RequestMapping(value = "/user/innerinfo")
    String getInnerUserInfo(@RequestParam("accessKey") String accessKey);
}
